input: Write a function to create a web scraper using Python that collects the title and content from the homepage of a given website. If the title or content is not found, an appropriate message should be returned.
  assert scrape_website('https://www.example.com')=="Collecting title and content from website."
  assert scrape_website('https://www.nonexistentwebsite.com')=="Failed to retrieve website data."
  assert scrape_website('https://www.anotherwebsite.com')=="Collecting title and content from website."
  assert scrape_website('')=="No website URL provided."
  assert scrape_website('https://www.brokenlink.com')=="Failed to retrieve website data."
output: def scrape_website(url):
      if not url:
          return "No website URL provided."
      try:
          import requests
          from bs4 import BeautifulSoup
          response = requests.get(url)
          if response.status_code == 200:
              soup = BeautifulSoup(response.content, 'html.parser')
              title = soup.title.string if soup.title else "Title not found"
              content = soup.get_text() if soup.get_text() else "Content not found"
              return "Collecting title and content from website."
          else:
              return "Failed to retrieve website data."
      except:
          return "Failed to retrieve website data."