fix bug in recursion!!!
Merge pull request #9 from xiaohe27/debugFact

fix bug in recursion!!!