A simple battleship game from a Codecademy exercise.