Graph building complete, solving algorithm started

Should removes duplicate references to common exit node in the exit nodes' adjacency lists.