Inheritance Class Objects in 2D Grid Array do not align

This is what I’m getting, rectangles are spread out. The code I posted reflects this same behavior.

What I want is a simple grid layout – 4 columns across, 4 rows down of rectangles.