Paradigms of Artificial Intelligence Programming in Ruby