fib implemented using unfold