private void insertInOpened(List < AState > opened, AState state)
	{
		if(!opened.isEmpty())
		{
			for(int i = 0; i < opened.size(); i++)
			{
				if(opened.get(i).getF() > state.getF())
				{
					opened.add(i, state);
					return;
				}
				else if (opened.get(i).getF() == state.getF())
				{
					if(state == this.tieBreaker.breakTie(opened.get(i), state))
					{
						opened.add(i, state);
						return;
					}
				}
			}
		}
		
		opened.add(state);
	}