network diameter and shortest path implemented