Performance Tuning Classes For Python Code For Snakes