There are 2 extremes in life:
Positive and negative.
If we have advised u to avoid the bad things, u are telling the names of worse things to be done instead.
Think positive. Sex is not the thing in life. u have to study, u have to work hard, u have to strive for success then only ur life will be prosperous. Nothing in the life can give u more satisfaction then the sense of being right.
u are a young, fresh and educated person, donot waste urself in such minor things, which are quite secondary in life (nobody should even think of doing suicide just because of masturbation???)
The best solution to ur problem is marriage and for the time being, just concentrate on ur job/study and donot worry for the rest of things.
If u are very much depressed, consult some psychiatrist.
This is a sincere advise for u, if any of my word has hurt u, i apologize in advance.