add factorial in ruby