Solved challenge 6 of first set.