Updated GUI.java

Added the majority of the code for the graphical user interface.