Small program that counts vowels with a method