i'm supposed to write a program to generate a certain number of random rectangles and make each rectangle rotate in its position,
however what I got was random rects generated randomly over each...