Home work 3-1

First part of Home Work 3.