Update README.md

Hi I'm just correcting a typo, from "fucntion" to "function" on the code examples