implement part of DPLL.
Add exercise.