Battleship homework..