Make examples compilable
Merge pull request #4 from knsd/feature/docs

Make examples compilable