Battleship program for Object Oriented