project 2

homework P2.