Some Machine Learning algorithms implemented in Ruby