Code and plots for Project 1