Development algorithm of single sampling inspection plan of pass-fail experiment