Add an example for lists and add stuff like in-grammar functions

to make the examle work.
The problem is that indented hierarchies like python source code or
lists are not directly recognizable by PEGs, so we add an extra stack to
the grammar and allow functions and transformations inside the grammar
to use the stack.