Added Week 5 solution to beginner problem