more Reverse words

Bash, Lua
more N Mod M

Lua, Ruby