input: Write a function to replace consecutive vowels in a word with an asterisk.
  assert replaceConsecutiveVowels("entertainment") == "*"
  assert replaceConsecutiveVowels("beautiful") == "bea*tiful"
  assert replaceConsecutiveVowels("queueing") == "qu*ing"
  assert replaceConsecutiveVowels("rhythm") == "rhythm"
output: def replaceConsecutiveVowels(word):
      vowels = "aeiouAEIOU"
      result = []
      i = 0
      while i < len(word):
          if word[i] in vowels:
              start = i
              while i < len(word) and word[i] in vowels:
                  i += 1
              if i - start > 1:
                  result.append('*')
              else:
                  result.append(word[start])
          else:
              result.append(word[i])
              i += 1
      return ''.join(result)