% Given a connected graph G and two vertices a.b in G
% find the graph distance between them 

function d=find_dist(G,a,b)
   d=length(find_shortest_path(G,a,b));
return
