Added timeIt

Times a function running duration.