Add a method to the CRS class called printMatrix that prints out the matrix in the following format: the first line should contain the elements of row 0, the second line should contain the elements of row 1, and so on. In each line, the element in column 0 should appear first followed by the element in column 1 followed by the element in column 2, and so on. The individual elements in each line should be separated by blanks.
The function header for printMatrix should be:
Note: Do not forget the zeroes!