More solutions

Solved problem 8 and 10