print matrix multi orders

does not handle the two-dims array in c++ very well.