homework 2; finish lecture 5