check if a number is a Fibonacci and compare speed of two methods