updated MMandM.js to remove indentation and put arguments into numArray via for loop