Use networkx.DiGraph as base class for Bayes nets. Exact inference.
Merge branch 'networkx'

Conflicts:
	tests/test_toposort.py