overloaded operators made for battleship class