My 2013 Nordic Programming Contest Solutions