Class to generate the Fibonacci sequence