Created a GUI for the operation. Takes user input and shows a message when the submit button is clicked. Allows logging to a file.