Brute Force Solver