Add naive bayes algorithm (Only support binary class and binary feature)