input: Write a function to generate a list of suggestions based on a given prefix from a provided dictionary of words. The function should return a list of words that start with the provided prefix. If the dictionary is empty or no words match the prefix, the function should return an empty list.
  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']
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "a")==[]
  assert auto_complete([], "d")==[]
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "dun")==['dungeon']
output: def auto_complete(dictionary, prefix):
      return [word for word in dictionary if word.startswith(prefix)]