Solved problem 15, w/ documentation