made loops function spin any of the basic shapes.