Application Specific Routing Algorithms for Networks on Chip