Samples written in Ruby