calculating seconds from a given amount of hours, minutes and seconds
(complete)