small updates to legal configuration
Merge branch 'master' of https://github.com/tpanum/BayesianNetworks.jl
types pass for legal_configuration