timeit can test the time of the function take