made BattleShip class compile