Function boundaryFill8Connected is not working, and I'm working on making it work