Fibonacci algorithm implemented.