public void addANewRoute(String newIP, ArrayList<String> configurationFile){
        element = new String[3];
        for(int i=0; i<configurationFile.size(); i++){
            for(int j=0; j<configurationFile.size(); j++){
                element[0] = getAddress(configurationFile.get(i));
                element[1] = getAddress(configurationFile.get(j));
                if(configurationFile.get(i).equals(configurationFile.get(j))) {
                    element[2] = getDistance(configurationFile.get(i));
                }else{
                    element[2] = "99";
                }
                node.add(element);
            }
        }
        routingTable.put(newIP, node);
        keys.add(newIP);
    }