Added Weighted random distribution in Lua

Hi,

Just added a new algorithm in Lua, which simulates weighted (or biased) random distributions.
I have included a test file, which actually is not really a test, but more of an example of use.

Regards,
Roland.