Modified BayesianModel.py to-
    * fix bug in get_indpendencies
    * fix bug in conversion to markov model
Created methods for finding local independencies and markov blanket.
Docstring changes in Independencies class.
Added method for finding variable nodes and factor nodes in FactorGraph class.
Added method for computing partition function in UndirectedGraph class.