input: Write a function to generate a list of suggestions based on a given prefix from a provided dictionary. If the given dictionary is empty then return an empty list. The function should return a list of all words that start with the given prefix.
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "d")==['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk']
  assert auto_complete(["apple", "apricot", "banana", "cherry"], "ap")==['apple', 'apricot']
  assert auto_complete(["cat", "caterpillar", "car", "cargo"], "ca")==['cat', 'car']
  assert auto_complete(["eagle", "elephant", "egg", "eleven"], "el")==['elephant', 'eleven']
  assert auto_complete([], "z")==[]
output: def auto_complete(dictionary, prefix):
      return [word for word in dictionary if word.startswith(prefix)]