Simple Python Brute Force Solver