added shared memoy and semaphore examples, and base files for story-writer