Changed square con

changed to a container of pointers to squares