Modified main: created constant variables for game states.