final copy for Home work 3