Railroads, their origin and problems