Update z2.c
Merge pull request #8 from ilijagrbic/patch-3

Update z2.c