Simple brute forcing in Python.