AI for 2048 game