Refactor: tidy up some fns
Merge branch 'master' of https://github.com/jules75/project-euler