Update README.md Nadeems changes

implemented function z and fixed bug y