Second commit
-removed input stream
-removed unused imports
-finished event handler for buttons
-created method to close socket and output stream