finish problem 6
add pdf description for problem 6
init problem 7