Object oriented implementation of Battleship.