added some more snippets and GUI code tkinter