Solutions to problems from <http://www.reddit.com/r/dailyprogrammer>