input: Write a python function to compare the salaries of two Employee objects and return the name of the employee with the higher salary.
  assert compare_salaries(employeeA, employeeB) == 'Jane Smith'
  assert compare_salaries(employeeB, employeeA) == 'Jane Smith'
  assert compare_salaries(Employee('Alice', 30, 7000), Employee('Bob', 25, 4000)) == 'Alice'
output: def compare_salaries(employee1, employee2):
      if employee1.salary > employee2.salary:
          return employee1.name
      else:
          return employee2.name