Coding the newGame method