Small changes to comments
Add abstract base class for algorithms and AdjacencyMatrix algorithm
Add JUnit tests for adjacency matrices and edge weights