Solution of Chapter1,Section1,ride was added