Checking Stacks and Context-Free Programmed Grammars Accept p-complete Languages