Fixed version of 2048 bot that plays the game in an automated fashion.