public void processInput() {
        boolean proceed = true;
        while (proceed) {
            displayMenu();
            try {
                int option = sc.nextInt();

                switch (option) {
                    case 1: {
                        System.out.println(node);
                        break;
                    }
                    case 2: {
                        node.reset();
                        break;
                    }
                    case 3: {
                        System.out.println("Reachable servers " + node.getAliveServers());
                        break;
                    }
                    case 4: {
                        processBlocking();
                        break;
                    }
                    case 5: {
                        processRemoveBlockingList();
                        break;
                    }
                    case 6: {
                        displayMenu();
                        break;
                    }
                    case 7: {
                        proceed = false;
                        System.exit(0);
                        break;
                    }
                    default: {
                        System.out.println("Please enter a valid input.");
                    }
                }
            } catch (Exception e) {
                Logger.debug(e);
            }
        }


    }