input: Write a python function to convert a dictionary to an HTML table.
  assert dict_to_html_table({'col1': [1, 2], 'col2': [3, 4]}) == '<table><tr><th>col1</th><th>col2</th></tr><tr><td>1</td><td>3</td></tr><tr><td>2</td><td>4</td></tr></table>'
  assert dict_to_html_table({'A': [1, 2, 3], 'B': [4, 5, 6]}) == '<table><tr><th>A</th><th>B</th></tr><tr><td>1</td><td>4</td></tr><tr><td>2</td><td>5</td></tr><tr><td>3</td><td>6</td></tr></table>'
  assert dict_to_html_table({'Name': ['Alice', 'Bob'], 'Age': [24, 30]}) == '<table><tr><th>Name</th><th>Age</th></tr><tr><td>Alice</td><td>24</td></tr><tr><td>Bob</td><td>30</td></tr></table>'
output: def dict_to_html_table(data):
      columns = list(data.keys())
      num_rows = len(data[columns[0]])
      
      table = '<table>'
      
      # Creating header row
      table += '<tr>'
      for col in columns:
          table += f'<th>{col}</th>'
      table += '</tr>'
      
      # Creating data rows
      for i in range(num_rows):
          table += '<tr>'
          for col in columns:
              table += f'<td>{data[col][i]}</td>'
          table += '</tr>'
      
      table += '</table>'
      
      return table