fix one bug in splitCriterion; add ctd.s example
update all_examples.s