Initial timer implementation
Much simpler solution using divmod()