print adjacency matrices before and after randomization