adding lab 2

Adding assignment from lab 2