Added adjacency Array creation to LayoutManager