My submission (and commit history) for ICFPC 2014.