modified the NB_classifier
adding comments
added more comments
fixed merge conflict