Added a Fibonacci method that keeps the last result in memory