Cleaned up code and added sanity check for non existing vowel