input: Write a python function to convert time into total seconds.
  assert time_to_seconds(2, 3, 4) == 7384
  assert time_to_seconds(0, 1, 1) == 61
  assert time_to_seconds(1, 0, 0) == 3600
output: def time_to_seconds(hours, minutes, seconds):
      return hours * 3600 + minutes * 60 + seconds