adjacency function

Create an Adjacency Matrix for a set of Rankings