Added code samples

Tried to make it as basic as possible while still showing pretty much all of the functionality.