Made day night cycle

Full brightness day is 10 minutes, it takes 3 minutes to get dark, full
night for 2 minutes, and three minutes to get light again. After which
the cycle resets. Hold the = sign to speed up time significantly.

Also set frame rate to 50 FPS and fixed .dat file creation.