Added the bayes classifier.

This works on the Naive Bayes Algorithm.