adding motorcycle.rb for Exercise 6.