Optimized solution.
Merge branch 'master' of github.com:ddmnet/Programming-Challenge