working Bayesian classifier! also fixed typos and gitignore