Adding the code of mix-mult