finished hw on lecture 3