Update index.html

Fixed a typo in the pet happiness pseudocode
Merge pull request #1 from JamesBrks/master

Update index.html