Adding fact sample; also revamping the example code of simple_bb_pass
to be more complete.