solution for problem set 8 3930188