Implemented all core functions of BattleShip