A simple implementation of the game Battleship