How did day and night exist without the sun?