Add simple MatrixGraph implementations, Add some basic tests