public static LinkedList<Tuple<String, LinkedList<Triple<String,String,String>>>> insert(LinkedList<Tuple<String, LinkedList<Triple<String,String,String>>>> list, Tuple<String, LinkedList<Triple<String,String,String>>> elem){
		LinkedList<Tuple<String, LinkedList<Triple<String,String,String>>>> result = new LinkedList<Tuple<String, LinkedList<Triple<String,String,String>>>>();
		Boolean added = false;
		for(int index = 0; index < list.size(); index++){
			if(list.get(index).get_y().size() > elem.get_y().size()){
				result.addLast(list.get(index));
			}
			else{
				if(!added) {
					result.addLast(elem);
					result.addLast(list.get(index));
					added = true;
				}
				else result.addLast(list.get(index));
			}
		}
		if(!added) result.add(elem);
		return result;
	}