Implementation and Analysis of a New Selection Strategy for Adaptive Routing in Networks-on-Chip