Two Stage Simplex Algorithm Python Code