private void recieveMessage() throws IOException {
        if (in.ready()) {
            // If shared MaxMin is not null
            if (shared.getMaxMin() != null) {
                // Print the returned message from the server
                System.out.println("Server>" + in.readLine());
                // Add to the message count
                messageCount++;
                System.out.println("Read: "+messageCount);
            } else {
                // Set the shared max min for some reason???
                shared.setMaxMin("");
            }
        }

    }