4. Create a "screen saver application:
a. Create a graphical application that draws 100 random lines in a canvas, each in a random color.
b. Extend your application so that it repaints itself every five seconds.
c. Extend your application to provide a GUI for setting the number of lines to draw.