add racingcars.rb and testcode