Plots and code for project 1