Update fact.cpp
Merge pull request #2 from rdotdk/master

Update fact.cpp