search 2d matrix

Signed-off-by: xbz <xbz.o3sig@gmail.com>