refactored problem 1
Merge branch 'master' of github.com:yihsiaol/project_euler