public static boolean findNumber(int[] matrix,int rows, int columns, int value) {
		if (matrix == null|| rows<=0 ||columns<=0){
			return false;
		}

		int i = 0, j = columns - 1;
		int tmp=-1;
		while (i < rows && j >= 0) {
			tmp=matrix[i*columns+j];
			if (tmp == value) {
				return true;
			} else if (tmp < value) {
				i++;
			} else {
				j--;
			}
		}
		
		return false;
	}