private ArrayList<Spire> deleteDoubles(ArrayList<Spire> l) {
        ArrayList<Spire> temp = l;
        int reps = 0;
        for (int i = 0; i < temp.size(); i++) {
            for (int e = 0; e < temp.size(); e++) {
                if (temp.get(e).equals(temp.get(i)) && e != i) {
                    reps++;
                }
            }
            if (reps > 1) {
                for (int del = 0; del < reps - 1; del++) {
                    temp.remove(temp.get(i));
                }
            }
        }
        return temp;
    }