Solutions for Daily Programming Challenges from http://www.reddit.com/r/dailyprogrammer