get_split_categories function

Return the categoric/ordinal information used in the split at a node of a tree