sprt function

Sequential Probability Ratio Test