My solutions to http://www.reddit.com/r/dailyprogrammer