Tell us about yourself!
When buying used golf balls, keep in mind, some have rubber band centers (as mentioned in earlier comment), some are solid core (as you used), but some even have a liquid core which is under pressure and released when drilled into. I found this out a few years ago with a similar project. It can be messy and probably harmful too. I could find no way of knowing what the interior of the ball was made of by looking at it. Be safe.