Some of my solutions to the Google Code Jam 2014 qualifiers