adds `State` datatype

game now keeps track of score and switches to the GameOver state when
all the invaders are dead.