Adding minor edits to Problem 17