Begin chapter on generating functions

Signed-off-by: Nicolai Hähnle <haehnle@or.uni-bonn.de>