結果 : algorithm for factorial using recursion