Added the main function to tkinter.py