Solution for problem #8
forgot type defitions
Solution for problem #9 (just a list comprehension)
Solution for problem #10 (again, very slow)
Merge pull request #5 from MisterGlass/master

solutoins for problems 8-10. 10 could be faster