Added a few more use cases and test functions for finding graph diameter and hub nodes.