MATLAB implementation of algorithms for link prediction for online social networks