Add z-function article

Here's my try at translating one of e-maxx's articles.