A simple timer to count from an entered time value to the current time, written in C