A study shows that shopping for prescription drugs online may be cheaper.