Solution to the Fibonacci problem for the developer interview.