Implemented basic naive bayes. Required debugging.