on skin may be an indicator of lesions in the nerves anywhere in the body. He probably asked you because of suspicion of nerve getting pinched in the neck region. However it is not worrying to have a mole in armpit. It is just a part of doctor's way of gathering evidence for making a diagnosis. it is not serious as it seems and you can get back to the doctor and ask if he found anything to suggest serious things.