added accessor and mutator for numLetters