input: Write a python function to find maximum and minimum from a list.
  assert maxMin([5, 2, 8, 9, 3, 6, 1])==(9, 1)
  assert maxMin([10, 20, 30, 40, 50])==(50, 10)
  assert maxMin([-5, -10, -3, -1, -7])==(-1, -10)
output: def maxMin(lst):
      return (max(lst), min(lst))