Mdd

Implementation of MDD