Added really basic naive bayes implementation.