Create class AdjMatrix;