Code and plots for week1 course project