Add methods to Timer class. Tested it with main.cpp.