Added ex2.29 solutions