adding algo for friend recommendations