solution for nodeschool.io "Learn You The Node.js For Much Win!" exercise