Finished part on the MMP algorithm.

Signed-off-by: Titouan Rigoudy <titouan.rigoudy@gmail.com>
Fixed conflict

Signed-off-by: Titouan Rigoudy <titouan.rigoudy@gmail.com>