Finished timer extra credit for homework 2