2048 in Python without GUI