Added solutions for 1,2,4.