Optimizations to problem 24
Merge branch 'master' of github.com:vrutberg/project-euler