Updated correct solution to p29