get_sample function

Calculate sample size and decision rule for a specified LQAS sampling plan