public ArrayList<Icon> moveLeftAndUpReorder(ArrayList<Icon> arr) {
		int len = arr.size();
		JButton flag = new JButton(icons[0]);
		int countBlank = 0;
		for(int i = 0; i < len; i++) {
			if(arr.get(i) == flag.getIcon())
				countBlank++;
		}
		ArrayList<Icon> result = new ArrayList<Icon>();
		for(int j = 0; j < len; j++) {
			if(arr.get(j) != flag.getIcon())
				result.add(arr.get(j));
		}
		while(countBlank > 0) {
			result.add(flag.getIcon());
			countBlank--;
		}
		return result;
	}