Added script versions of tutorial code.

Doesn't include packaging, since that's being worked on in parallel.

Reviewed by: kiyan