adding final lecture 4 and homework 1