A geometric routing scheme in word-metric spaces for data networks