Question: 1. Write a program that draws 5 concentric squares of random length.
2. Write a program that draws a brick wall pattern in which each row of bricks is offset from the row above and below it.
3. Write a program that draws a quilt in which a simple pattern is repeated in a grid of squares.
4.Modify the previous problem such that it draws a quilt using a separate class called QuiltPattern that represents a particular pattern. Allow the constructor of the QuiltPattern class to vary some characteristics of the pattern, such as its color scheme. Instantiate two separate QuiltPattern objects and incorporate them in a checkerboard layout in the quilt.