its able to build a primitive bayesian network, without many functionality