added notes and code on bayes classification (3 classes)