http://slideplayer.com/1473267/4/images/25/Some+more+Prolog+Bounded+depth+first+search+Cut.jpg