Dev

Added Factor and TabularCPD class. Modified set_cpd function.