Edited method loadFactors(): added if statement to 
to .setVariables section to account for nodes with no parents
Edited method loadFactors(): deleted commented-out code 
for previous .setVariables section
Added comments in method createFactorGraph() to 
outline order to call methods