Completed working on a problem to find the number of vowels