2048 game in console using python