explain the program in array multiplication and transpose matrix