FibonacciNumber class implemented