Added logic for moving randomly
Added logic to switch game modes based on time
Fixed bug in which ghost modes were not switching properly