Rewrote get_vowels() and get_consonants() for efficiency. Rewrote
get_consonants() to conform with PEP8 and Google Style guidelines