Changes to shortest path

Change the structure of the node in 2 structure to have a better understanding of the code. Disadvantage more memory 4B for every node and possible less speed due to extra pointer.