Modular API, minor fixes in CHAID

- CHAID exposed to Modular API
- API examples added
- continuous_to_ordinal() method fixed, constructor added