I'm here to tell you that you did the right thing. Whatever you did, there is no need for you to feel guilt or shame right now. You probably didn't need those friends anyway, that girl didn't like you to begin with, and there are probably a dozen other guys in your neighborhood matching your description so the cops have very little chance of finding you.