Add Solution for Problem #8