Our entry for Speedhack 2014 (http://speedhack.allegro.cc)