Update "Figures" sample: add Square class.