Simple function that prints the computation time of a function

timeit(f)

Arguments

f

the function to time

Value

returns the elapsed time