Search 2D matrix solved in O(log(m)+log(n)) time