Added new shortest route function
Explicit route array declarations.