Matlab implementation of some link prediction algorithms for online social networks