added Gui written with tkinter