Walgreens is following Mark Cuban's blueprint as it embarks on a big strategy shift for prescription drugs