coded support for adding nodes and edges by name to the BayesNet
Merge pull request #707 from keyvan-m-sadeghi/master

Updated BayesNet code