A neural network algorithm to solve the routing problem in communication networks