Surgery plays a major role in diagnosing cancer and finding out how far it may have spread. But soon, instead of waiting for the lab results, surgeons could learn exactly where a tumor is located almost immediately, during surgery, using a device shaped like a pen.