2048 in python, school project