function timer

Solution to a problem in standard library lab using timeit module.