* Refactor of plot1, plot2 and plot 3
* Added the code for the creation of plots 4, 5 and 6