I am trying to create a node class to be used in a weighted graph. definition is below, I tried to be as specific as possible, but please let me know if you have any questio