Homework 2-1

First part of home work 2