started on save/load
added MatrixGraph class