Update Dijkstra.h

types.h is removed and the struct plan is defined in this header. The scope of the variables is changes to private.