input: Write a python function to extract all hyperlinks from a given URL using BeautifulSoup.
  assert extract_hyperlinks('https://www.example.com') == ['https://www.iana.org/domains/example']
  assert extract_hyperlinks('https://www.w3.org/') == ['https://www.w3.org/TR/', 'https://www.w3.org/standards/', 'https://www.w3.org/participate/', 'https://www.w3.org/community/', 'https://www.w3.org/about/']
  assert extract_hyperlinks('https://httpbin.org/') == ['/ip', '/user-agent', '/headers', '/get', '/status/{codes}', '/response-headers', '/redirect/{n}', '/redirect-to', '/cookies', '/cookies/set', '/cookies/delete', '/basic-auth/{user}/{passwd}', '/hidden-basic-auth/{user}/{passwd}', '/digest-auth/{qop}/{user}/{passwd}', '/stream/{n}', '/delay/{n}', '/drip', '/range/{numbytes}', '/html', '/robots.txt', '/deny', '/cache']
output: def extract_hyperlinks(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      hyperlinks = []
      for link in soup.find_all('a', href=True):
          hyperlinks.append(link['href'])
      
      return hyperlinks