Random class fix.

These methods are supposed to be `static`.
Add support for static methods.

This commit adds support for static methods, in similiar way which Python
has support for them.

Also provides an example of a static method.
Merge pull request #35 from peelonet/static-methods

Add support for static methods.