adjacency matrix for mtg