finished bayesian algorithm, made some testing programs and plots of precision aand recall