input: Write a python function to scrape the top websites from Alexa.
  assert isinstance(getTopSites(), list)
  assert len(getTopSites()) > 0
  assert 'name' in getTopSites()[0]
  assert 'alexa_rank' in getTopSites()[0]
output: def getTopSites():
      import requests
      from bs4 import BeautifulSoup
  
      url = 'https://www.alexa.com/topsites'
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
  
      sites = []
      rows = soup.find_all('div', class_='tr site-listing')
  
      for row in rows:
          rank = row.find('div', class_='td').get_text().strip()
          name = row.find('div', class_='td DescriptionCell').get_text().strip()
          sites.append({'name': name, 'alexa_rank': rank})
  
      return sites