example usage missing require, priv key creation

a few changes that i needed to make to the example to make it run for me
Merge pull request #31 from greggzigler/master

example usage missing require, priv key creation