Static And Dynamic Array In Python Code For Snake