Changes in JointProbabilityDistribution Class

1. Adds `conditional_distribution` method
2. Adds optional argument `condition` in `get_independencies` method
3. Tests for these methods.