Refactoring class GameLetter.java