Added code to remove redundant calling of integer labeling for nodes
Added code to test whether graphs already have 0-indexed continuously labeled nodes. If yes, redundant calls to relabel the nodes are skipped.
Added code to test whether graphs already have 0-indexed continuously labeled nodes. If yes, redundant calls to relabel the nodes are skipped.