adding partially complete naivebayes implementation