notebook program written in Ruby