Implementation of the game of Battleship, with computer AI