Adding challenge 9
Added comments and fixed formatting
Merge branch 'week3'