plots and code of project 1