Merge pull request #173 from jmcomets/adjacency-matrix-v2

Add adjacency matrix implementation