Added example usage

Basic example from #1.