Solutions for problem set 8.