Sweetie you HAVE to get back in touch with your friends. Friends are perfect PRECISELY for a time like this. Sleeping with another guy(especially an ex) will not fix anything. I know all too well how easy it is to feel sorry for yourself and practically "self-medicate" with sex just to get over it but that is a path that you do NOT want to wander down. This "boyfriend" of yours is obviously less than scum for 1) cheating on you 2) cheating on you with his best friend's ex(which I'm sure his bf doesn't approve of) and 3) having the nerve to ask you to forgive him. You have a choice here, you don't have to be with him. He doesn't make you happy.
I know you say you don't have friends anymore but if you still have phone numbers you at least still have an ear that will listen or even a shoulder to cry on(you might be surprised about the ones you find that stuck around).
It's normal to feel like taking revenge out on your boyfriend. He did something terrible to you so you want to make him hurt like you did. Did you tell him you cheated on him? All things considered, 2 wrongs DON'T make a right, but you can't change the past so don't worry about it. You made, what you thought, was the correct decision at that time. No need in crying over spilled milk. The right thing to do now is get out of the relationship. You're strong enough to do it, most women are, we just get hung up on the normal, the comfortable, the habit, the regularity of being in THAT relationship. No one likes to change, it's too much work, it's different, and maybe a little frightening but change helps us grow and become better people. Who knows what might walk into your life once you throw out your dirty laundry(boyfriend). You may discover how strong you really are.