Add assignment preprocessor and related example files
Move examples into subdirectories
Small tweaks to examples, fix Makefiles
Update readme