public static List<Element> intArrToList(int[] arr) {
		List<Element> elements = new ArrayList<Element>();
		
		for(int i = 0; i < arr.length; i++){
			Element elem = new Element(i, arr[i]);
			elements.add(elem);
		}
		
		return elements;
	}