Test your class definition with this main program. Save your class definition in "matrix.h" and compile the program with "g++ matrix-6.cpp". The running result should look like:
1 1 1 2 2 2
1 1 1 2 2 2
1 1 1 2 2 2
1 0 0
0 1 0
0 0 1
1 1 1 1 0 0
1 1 1 0 1 0
1 1 1 0 0 1