Added methods in TabularCPD and Factor to print in tabular form in IPython
notebook.