Finishg lecture 6 problems.