Fifth problem
Add some documentation on problem 4 and 5 since it wasn't really obvious
Sixth problem