Update RouteGenerator.java

add route length generation