Code for my 2014 NaNoGenMo entry