[python] How to make program go back to the top of the code instead of closing