first GUI with tkinder
switches buttons
compacting code