measure the time of fibo algorithm