replaced String lastLetter with int last to tighten up code some more and to put is() method to use since the instructors provided it