shortest path algorithm - utilites

the necessary graph implementation for shortest path alogrithm.
I don't mean the whole method, just those unused commented declarations.