Position function

R6 class that defines DBNs as causality lists