Brute Force Solver functional. Can solve 100% of all solvable test cases.