First implementation of categorical binary split (not yet working)