A stochastic model for the link analysis of the web