Updated solutions for task 2, 3, 9 and 10
Merge pull request #1 from iterate/solutions-fix

Updated solutions for task 2, 3, 9 and 10