My classmates isolated me for 3 years, my friend in another school suffered for 5 years.
It's a really bad experience, but from what we had gone through, we can tell you that you will get stronger for later if you stand up for yourself. So now you need to feel easy, take it easy, and build up your character on your own good.
I won back my friendship among those classmates 3 years later after many things I had done to get them know that I am not the person they thought I was. Just because a couple groups of people disliked me, other people didn't want to get close to me and think I am Frankenstein or something, then during my dark age, no one liked to approch me ever...then abusing, teasing, gossipping, insulting... everything you can think of. But I always believe that the reason they did that to me mainly because they were retarded and immature. May be you have problem too, but try to make yourself a better person so they turn out feeling curious about you and get to know you more. I think if you are not a bad person you would have friends eventually, convince yourself that you're just in your low's, good day will come to you very soon. Only positive attitude will help you get out of the bad luck and dark age. I learnt it in those three years when I was in my super low's.
My friend's case was even worse, he was so unpopular and got beaten up because he could study well and got the highest grade. He was hated by his immature classmates but did he fail his life? NO! Even though he got no friends in secondary school, he got lots of friends from other places else like in U or net! Decide who you're going to make friend with. If they doesn't worth, don't spend your time on them! There are always someone who's hard to make friend with you, frankly, it's matter of fact during your lifetime. Learn to forgive who hates you, and discard their hatred. You don't have to treat them good if you don't feel right, just be responsible to your own self. COMMITTING SUCIDE will only REVEAL how WEAK and POOR you HANDLE hard stuff, but everyone will finally get to learn it soon or later. Show yourself you can tolerate bad times and get beyond your limit, then you must turn out to be a much stronger and sucessful person for sure!