Added factorial
Merge pull request #18 from simon-morris/master

Added factorial