Rewrote blob detection using flood fill and intqueue