It could have been an ingrown hair. Was there any redness in the area?
I had a big lump in my armpit when i was younger. It hurt pretty bad to stretch my arm straight up. Turned out to be a swolen lymph node, indicating i most likely had some sort of infection.