finished native bayes classificator