Added Bayes Net class
Made BasicNN acyclic, added topological sorting to recurrent and acyclic
NNs