Implement nth Fibonacci number | Intuit Interview Question