more flexible main method
derive from AbstractLearner, as no functionality from PLL is actually used anymore
fixed mrf references
added learning method BPLL_CG
added test case for BPLL_CG