input: Write a python function to generate an HTML table from a CSV string.
  assert create_html_table("Name, Age, Gender\nJohn, 25, Male\nAmanda, 23, Female") == "<table><thead><tr><th>Name</th><th> Age</th><th> Gender</th></tr></thead><tbody><tr><td>John</td><td> 25</td><td> Male</td></tr><tr><td>Amanda</td><td> 23</td><td> Female</td></tr></tbody></table>"
  assert create_html_table("Product, Price, Quantity\nApple, 1.00, 10\nBanana, 0.50, 20") == "<table><thead><tr><th>Product</th><th> Price</th><th> Quantity</th></tr></thead><tbody><tr><td>Apple</td><td> 1.00</td><td> 10</td></tr><tr><td>Banana</td><td> 0.50</td><td> 20</td></tr></tbody></table>"
  assert create_html_table("Country, Capital\nGermany, Berlin\nFrance, Paris") == "<table><thead><tr><th>Country</th><th> Capital</th></tr></thead><tbody><tr><td>Germany</td><td> Berlin</td></tr><tr><td>France</td><td> Paris</td></tr></tbody></table>"
output: def create_html_table(csv_string):
      rows = csv_string.split('\n')
      headers = rows[0].split(',')
      body_rows = [row.split(',') for row in rows[1:]]
  
      thead = "<thead><tr>" + ''.join([f"<th>{header}</th>" for header in headers]) + "</tr></thead>"
      tbody = "<tbody>" + ''.join(["<tr>" + ''.join([f"<td>{cell}</td>" for cell in row]) + "</tr>" for row in body_rows]) + "</tbody>"
  
      return f"<table>{thead}{tbody}</table>"