Exercises from reddit's DailyProgrammer subreddit. ( http://reddit.com/r/dailyprogrammer )