Fixed example files so they work out of the box

Copied the working todo example from the documentation because the one
included was outdated and broken.
Merge pull request #3 from timsayshey/master

Fixed example files so they work out of the box