Stochastic Friendship Maximization Algorithm