DirectedWeightedGraph.RemoveVertex decrements the Count property, but keeps the index of vertex array and adjacency matrix. The inconsistent index and count cause issue when adding new vertex after removing vertex.
This PR resolves the issue and fixes #368.
[x] I have performed a self-review of my code
[x] My code follows the style guidelines of this project
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Comments in areas I changed are up to date
[x] I have added comments to hard-to-understand areas of my code
[x] I have made corresponding changes to the README.md
DirectedWeightedGraph.RemoveVertex decrements the Count property, but keeps the index of vertex array and adjacency matrix. The inconsistent index and count cause issue when adding new vertex after removing vertex.
This PR resolves the issue and fixes #368.