Updated comments to Problem 10
Further optimized solution to Problem #10