005: loading and saving nodes and connections, calculate shortest path