Instantiated LetterBank class outside the while loop