What two cities grew as a result of the railroad system?