Plots and code for Assignment 1