Finish method isHeadingWall(x, y).