Fix function typo during recursive call and remove trailing whitespaces
Merge pull request #52 from praveenkumar/fact_bug

Fix function typo during recursive call and remove trailing whitespaces