Sorce code that generate plots for project 1.