Program the game 2048 and apply AI to solve it