I am sorry I did not
include the explicit def. I wrote the code on the fly just to solve the checking
of the name of the shapes specifically to answer question of how to
check for the shape names and based on this criteria, how do you go about
solving the problem.