Rewrite

Rewrote the bruteCheck function to remove several conditional paths, and
check everything at once.