Issue #64: First version of schedule for loopy graph. Should be improved further. Switched loopy test case in OptimizeByInference back on. However gives now same result as 10 iterations of MaxProduct.