Homework for Simulation and Modeling project 2