Update rectangle.c

added some comments based upon the random generation