Replace every vowel in a string with its position (a=1, e=2...).: Medium Programming Problem