Author code to recreate plot1.png.

Do this as part of the assignment.