input: Write a python function to extract all hyperlinks from a given URL using BeautifulSoup and Requests library.
  assert extract_hyperlinks('https://example.com') == ['https://example.com/link1', 'https://example.com/link2']
  assert extract_hyperlinks('https://example.com/anotherpage') == ['https://example.com/page1', 'https://example.com/page2']
  assert extract_hyperlinks('https://example.com/nolinks') == []
output: def extract_hyperlinks(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      links = []
      for link in soup.find_all('a', href=True):
          links.append(link['href'])
      
      return links