finished plot3 and added the png plot