input: Write a python function to return the third element of a list.
  assert third_element([1, 2, 3, 4, 5]) == 3
  assert third_element(['a', 'b', 'c', 'd']) == 'c'
  assert third_element([True, False, True, False]) == True
output: def third_element(lst):
      return lst[2]