"Adding nb.py"

Simple code for a naive bayes classifier.
TO-DO: Change the input format such that it is more flexible & remove clutter.