CNF, Propositional Logic Resolution Algorithm