Problem Nine Solution (Brute Force, unfortunately)
Solved Problem 10. Did some Solution Reorganization