[LC] Added solution to search a 2D matrix.