Fixed bug in description of learning.rb
Formatting and doccomentation of an example
Doccomented learning example