Compute the nth Fibonacci number