Factorial refactored. Fibonacci sequence added