how to use match statement in python