20141013: Fixed Problem 1b, I misread the problem!