module for distance measures of digraph added.

Corresponding testing module also added which takes significant execution time due to random sampling.