Added solutions for first 4 tasks