protected Vertex findGoal(Graph g) {
		Vertex minDistanceV = null;
		for (Vertex v: g.getVertices())
			if((!v.view_yazidi().isEmpty())||(!v.view_human().isEmpty())){
				if(minDistanceV == null)
					minDistanceV = v;
				else
					if(v.minDistance<minDistanceV.minDistance)
						minDistanceV = v;
			}
		return minDistanceV;
				
	}