2048 in Python