learn_ruby: alternative solution for multiply