G-13. Distance of nearest cell having 1 | 0/1 Matrix | C++ | Java