Algorithms for some Fuzzy Network Problems using Ranking Function