Working on Solution for Problem 11