add factorial to ruby number