Update exercises.rb
add ex0 code