function result = buildingBlocks(width)
%buildingBlocks calculates how many cube-shaped blocks will fit in a 16in by
%16in by 16in box
%consumes: the width of a building block
%produces: the result which is the number of blocks
%this function will take the width of a block and find the maximum number
%of blocks that will fit in a 16in by 16in by 16in box.  This will be a
%whole integer number because we are assuming that no blocks can be cut.
%%%%%%%Examples%%%%%%%
%>>buildingBlocks(3)
%ans = 25
%
%>>buildingBlocks(4)
%ans = 16
%Debbie varnell (dvarnell) for cisc 106 section 080 10/1/2007
result = (fix (16/width))^2;
return;
end