the code and graphs for project #1