Software Objects In Python Code For Snake