private int costValue(TermPQ currentPoint , char[][]map)
	{
		int cost =0 ;
		try
		{
			Integer.parseInt(""+ map[currentPoint.getPositionI()][currentPoint.getPositionJ()]);
			cost = 2 ;
		}
		catch(Exception e)
		{
			char element= map[currentPoint.getPositionI()][currentPoint.getPositionJ()];
			switch(element)
			{
			case 'r' : cost =5; break ;
			case ' ' : cost =1; break;
			case 'B' : cost =1; break;
			case 'V' : cost =1; break;
		    }
		}
		return cost ;
	}