Grid layout with 2d Array