Adding htmlentities()

Know its only a demo, but should be setting a good standard, for XSS Prevention.
Merge pull request #3 from barryhunter/patch-1

Adding htmlentities()