Added Nested For(For()) loops for initbricks(void)