A simple game of Battleship on the command line