factorial call using recursion and iteration
testing fibonacci sequence with memoization