Match Case Structure Python Code For Snake