how to exit a program in python