CN2 algorithm