Hybrid Inheritance In Python Code For Snake