Add a couple of example JRuby scripts

Unfortunately, they do not work right now as written. But for the
moment, fixing them will have to wait. (I'd rather have them committed
and available than forgotten.)