My solutions to google code jam 2013 qualifying