Accidentally wrote SAT solver