Random Walks and Statistical Physics