As seen on http://www.reddit.com/r/dailyprogrammer for fun