printConnections

Prints which nodes each node is connected to.