Some more Prolog Bounded depth first search Cut