Added factorial method
Merge branch 'master' of github.com:stuycs-apcs-z/hw