A Generic Algorithm Library for Ruby Language