Update README.md

implemented function z and fixed bug y
Merge pull request #3 from hvarda/Nadeems-work

Update README.md Nadeems changes