Demonstration of Quantum Nonlocality for Multi-Qubit Systems via Quantum Programming