private static int findminimumgreedyscorefortailvertex(int tailvertex) {
			// TODO Auto-generated method stub
			
			int temp = 0;
			for(int j = 0 ; j<graph.get(tailvertex).size();j++){
				if(!(exploredarray.contains(graph.get(tailvertex).get(j)))){
				temp = pathlength[tailvertex] + edgewieght[tailvertex][graph.get(tailvertex).get(j)];
				if(temp<score){
					score = temp;
					vertextotransverse = graph.get(tailvertex).get(j);
				vertextotraversefrom = tailvertex;
				}
				}
			}
			return score;
		}