function circleSquareFit()
% Creates an array of circle & square structures.
% Display's which circle fit inside which square.
%
% Output should be:
%       Hefty (radius = 55 ) fits inside      Mammoth (width = 333)
%      Weensy (radius = 1  ) fits inside         Jake (width = 15 )
%      Weensy (radius = 1  ) fits inside        Jumbo (width = 30 )
%      Weensy (radius = 1  ) fits inside      Mammoth (width = 333)
%      Weensy (radius = 1  ) fits inside Pocket Sized (width = 5  )
%       Ample (radius = 16 ) fits inside      Mammoth (width = 333)
%        Mike (radius = 12 ) fits inside        Jumbo (width = 30 )
%        Mike (radius = 12 ) fits inside      Mammoth (width = 333)
% Substantial (radius = 40 ) fits inside      Mammoth (width = 333)

% ENTER YOUR NAME AND OTHER HEADER INFO HERE

% load the preset shapes into their respective lists.
circleArray = loadCircles();
squareArray = loadSquares();

% use these values in your for loops
numCircles = length(circleArray);
numSquares = length(squareArray);

% hint: put nested for loops here:



function circleArray = loadCircles()
    circleArray(1) = circleConstructor('Hefty', 55);
    circleArray(2) = circleConstructor('Weensy', 1);
    circleArray(3) = circleConstructor('Ample', 16);
    circleArray(4) = circleConstructor('Mike', 12);
    circleArray(5) = circleConstructor('Substantial', 40);

function squareArray = loadSquares()
    squareArray(1) = squareConstructor('Puny', 1);
    squareArray(2) = squareConstructor('Jake', 15);
    squareArray(3) = squareConstructor('Jumbo', 30);
    squareArray(4) = squareConstructor('Mammoth', 333);
    squareArray(5) = squareConstructor('Pocket Sized', 5);
