Added my solution to PE Problem 22