Use ! when calling Character.isLetter()

Remember to lowercase the entire string, and set make sure the check
doesn't go out of bounds