input: Write a python function to generate a URL for a movie search given its IMDb id, title, and year.
  assert movie_url('tt1234567', 'Inception', 'Inception', [], '2010') == 'imdb=tt1234567&title=Inception&year=2010'
  assert movie_url('tt9876543', 'The Matrix', 'The Matrix', [], '1999') == 'imdb=tt9876543&title=The+Matrix&year=1999'
  assert movie_url('tt7654321', 'Interstellar', 'Interstellar', [], '2014') == 'imdb=tt7654321&title=Interstellar&year=2014'
output: def movie_url(imdb_id, search_title, title, genres, year):
      import urllib.parse
      title_encoded = urllib.parse.quote_plus(title)
      return f"imdb={imdb_id}&title={title_encoded}&year={year}"