They could be enlarged lymph glands maybe due to an infective process which includes shaving which could have caused some cut or nick. If a lymph node is less than one centimeter in diameter and soft, rubbery and tender, it is more likely to have swollen due to a benign cause, such as recently shaving under the arm, using a new deodorant, having a manicure etc. What can be done is try to refrain from any of the above mentioned causes for a week, try some soothing lotion at the site, apply some antibacterial, antifungal cream and see if the swelling subsides. If it still persists then you will have to schedule an appointment and see your physician for a clinical evaluation. Goodluck.