Fixed code for problem 1 that included returns that could never be used. Removed the extra returns.