Lecture 10- challenge

Here is my submission of the lecture 10 challenge