input: Write a python function to parse the URLs from a given web page using BeautifulSoup and urllib. 
  assert parse("https://www.example.com") == ['https://www.test1.com', 'https://www.test2.com']
  assert parse("https://www.sample.com") == ['https://www.test3.com', 'https://www.test4.com']
output: def parse(url):
      from urllib.request import urlopen
      from bs4 import BeautifulSoup
  
      response = urlopen(url)
      html = response.read()
      soup = BeautifulSoup(html, 'html.parser')
  
      urls = []
      for link in soup.find_all('a', href=True):
          urls.append(link['href'])
  
      return urls