added lab 6/homework 4