My entry for the 2013 Codecup competition. See http://archive.codecup.nl/2013/.