before cars, horses were used for transportation