added a simple timer class (still incorrect for multithreaded timing)