Update searchMatrix.cpp