protected void consolidate(ArrayList<Space> queue, ArrayList<Space> addingLocations) {
        for (Space i : addingLocations) {
            Space test = null;
            boolean addI = true;
            for (int j = 0; j < queue.size(); j++) {
                test = queue.get(j);
                if (test.loc.getRow() == i.loc.getRow() && test.loc.getCol() == i.loc.getCol()) {// Sees
// if they are in the same spot
                    if (test.counter > i.counter) {// What one is closer
                        addI = false;
                        break;
                    } else {
                        queue.remove(test);
                        break;
                    }
                }
            }
            if (addI == true) {// If i is the best location
                queue.add(i);
            }
        }
    }