My own version using tkinter in python