Added Solution to Problem 1