Test the rook flood fill method