input: Write a python function to fetch and parse HTML content from a given URL and return the data in a list of lists.
  assert fetch_data('https://www.example.com/data') == [['Row1Col1', 'Row1Col2'], ['Row2Col1', 'Row2Col2']]
  assert fetch_data('https://www.anotherexample.com/data') == [['Row1Col1', 'Row1Col2', 'Row1Col3'], ['Row2Col1', 'Row2Col2', 'Row2Col3']]
output: def fetch_data(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      data = []
      for row in soup.find_all('tr'):
          cols = [col.text for col in row.find_all('td')]
          if cols:
              data.append(cols)
  
      return data