input: Write a function to generate a list of suggestions from a given dictionary based on a provided prefix. The function should return the list of words that start with the given prefix. If the dictionary is empty, return an empty list.
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "d")==["dog", "deer", "deal", "dungeon", "dark", "dusk"]
  assert auto_complete(["apple", "banana", "apricot", "blueberry"], "ap")==["apple", "apricot"]
  assert auto_complete(["cat", "dog", "elephant"], "z")==[]
  assert auto_complete(["rock", "rocker", "rocking", "rocky"], "ro")==["rock", "rocker", "rocking", "rocky"]
  assert auto_complete([], "a")==[]
output: def auto_complete(dictionary, prefix):
      return [word for word in dictionary if word.startswith(prefix)]