finished mix array with another array in math algo dot c