Moving AdjacaencyMatrix.scala to graph package