Location Tracking Code In Python For Snake