A Novel Way of Computing Similarities between Nodes of a Graph, with Application to Collaborative Recommendation