Battleship Program for my Java class