Creates partial working Adjacency List (addRowConnections is tested).
Completes implementations of matrix -> adjacency list for rows and columns.