AI to calculate 2048