Solved first 5 tasks