solution for problem set 4 4035149