Fixed the timer function, now actually works
Program now has no known bugs, although it will throw exceptions when given strange input