Added Quit button

added button to close the program