input: Write a function to generate a list of autocomplete suggestions based on a given prefix from a provided dictionary. If no words match the prefix, return an empty list. If the dictionary is empty, return an empty list as well.
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "d")==['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk']
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "de")==['deer', 'deal', 'dark']
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "dun")==['dungeon']
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "a")==[]
  assert auto_complete([], "d")==[]
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "")==[]
output: def auto_complete(dictionary, prefix):
      return [word for word in dictionary if word.startswith(prefix)]