changes in function.py and README.md

changes in function.py and readme.md