My solution to Synacor's OSCON 2012 programming challenge.