add imports to example to make complete program
Merge pull request #22 from ryantm/patch-1

add imports to example to make complete program