added gist examples into demos folder; you can figure out where this bel...

Here are the gists example. Might as well toss these in here. I noticed the documentation doesn't show how to use afternm and box.c does exactly that.
Maybe use `calloc()` instead, to show good practices (avoiding arithmetic overflows).