Performance Tuning Classes For Python Code For Snake