implemented day night cycles, as well as a time keeping class Day