System.out.println("( (A AND P) => L)");
System.out.println("((A AND B) => L)");
System.out.println("(A)");
System.out.println("(B)");
WalkSAT walkSAT = new WalkSAT();
Model m = walkSAT.findModelFor(kb.asSentence().toString(), 1000, 0.5);
if (m == null) {
System.out.println("failure");
} else {
m.print();
}