finished naiveMatrixMultiplication, kthSmallestElement and 2 versions of searchSortedMatrix