Saving shortest path in graph to given file
Implemented list disposing