Update first chapter’s code samples.

Tested the samples in 0.10 and the 0.11 nightly.  Should resolve #46

The Ruby is a little unnatural, since it sounds like println! now uses format! under the hood and needs a templating string (not sure whether `"%s" % greeting_message` or `#{greeting_message}` is any better).