Update README.md

Added missing close for function in FAQ example.