Simple Naive Bayes implementation in Julia