Add fib function and timeout example