Create a function that accepts four string variables and returns a string that contains an HTML table element, enclosing each of the variables in its own cell.