[rectangles.h] finished