2048 written in python