ship class for battleship game