Part 3: plot3.R and plot3.png added