Creating the game battleship as a learning exercise.