Add an example.

Adds an example script which flips coin with a little bit help from
AJAX.