Add basic test function

An impressively terrible NB classifier
Change CSV function to multinomial probability