Implemented all methods in Graph interface for MatrixGraph + small fix in shortest path method