added example 12, ex12.rb
added example 13, ex13.rb
added example 14, ex14.rb