Search A 2D Matrix - 74. Leetcode - Java