Solved problem one
Solved #2wwwoooo. Cannot say I understand yield yet.