Fibonacci and factorial functions added