private ArrayList<node> cloneNodeList(ArrayList<node> list) {
		ArrayList<node> returnList = new ArrayList<node>();

		for(int i = 0; i < list.size(); i++) {
			returnList.add(list.get(i));
		}

		return returnList;
	}