Initial Brute Force Solver