Proving theorems in propositional calculus by Wang’s Algorithm