Initial commit of bayesiansets.py and test_bayesiansets.py