Experimental code to detect kakuro in an image