My entry for the 2014 Tron competition on codingame.com