In this challenge, you have to add a variable amount of hours, minutes and seconds to a given time, obtaining, in turn, a new adjusted time.
Given a string now being a timestamp in the format hh:mm:ss, and three integers hrs, mins and sec being the hours, minutes and seconds to add, implement a function that returns a string being the newly adjusted timestamp (maintaining the same format).
time_adjust("01:00:00", 1, 30, 10) ➞ "02:30:10"
time_adjust("18:22:30", 4, 60, 30) ➞ "23:23:00"
time_adjust("00:00:00", 72, 120, 120) ➞ "02:02:00"
hrs, mins and sec can be any positive integer, and you have to correctly add them to the corresponding unit if they exceed their scale. See example #2: sixty minutes is one hour, and sixty seconds (30 + 30) is one minute.