added primitives example.  fixed typo pathname in codeblocks readme