Link-Prediction and its Application in Online Social Networks