Add game over functionality

Add a test for GameOver() a function that returns a boolean, true if the
game is over, and false otherwise.  Write just enough code to get the
test to pass.