Added MyWindow.java that acts as a window for the app and as an actionListener for the buttons.