Fixed an error causing program to crash when typing a word that isnt a
pokemon or type.