Skynet Finale - Level 2 solution on http://www.codingame.com/