refactor count_vowels + reverse_a_string