function outMsg = SetMatrixColor(M,chosen,Colour)
     
         %outMsg = "Great!"
         szM = size(M);
         szchosen = size(chosen)
     
     for c = 1:1:szchosen(1)
         for m = 1:1:szM(1);
             if (M(m,1)== chosen(c))
                 M(m,2) = Colour;
                 break;
                 %% 
             end 
         end
     end
     
     outMsg = M;
     end


