added invalidCharacters() method to BattleshipGameView