Local bindings and some examples.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>