MCT

First attempt for the implementation of the algorithm