Added a solution to a C/C++ task for swapping two specific rows in a matrix.