learn_ruby: added factoral solution