Two Stage Simplex Algorithm Python Code For Prime