Learning the structure of Bayesian Networks and submodular function maximization