Expanded Fibonacci example with a look-up table to save calculations and improve performance.