Added ex2.30 solutions