Source code of HomeWork for Unit 2