added timeit decorator

added timeit decorator to calculate elapsed time