More chapter 6 exercises

1) Bug in 5(d). Changing lambda to s
2) Solution to 9(g) as promised!