def search(self, n=5, tolerance=1):
        """
            n : int
                specify the size of the line, before generating and iterating line
        
        """
        self.n = n
        self.tolerance = tolerance
        self.__generate()
        self.__iterate_line()
        sys.stdout.write(" \n") 
        sys.stdout.flush()

            n : int
                specify the size of the line, before generating and iterating line
        
        
recipes/Python/578779_Find_largest_run_Heads_or_Tails/recipe-578779.py