Added solutions for 2.2, 2.3 and 2.4.