initial commit, trains NBC and displays results on test set