Building a battleship game to learn Java.