Backward Induction and Subgame Perfection. the Justification of a " Folk Algorithm. "