Added Solution to Problem 42