Testing out some flood fill and line segment detection algorithms