AI for Acagamics programming contest 2014