add naiceBayesian algorithm