Update functions.sh

Fixed spelling errors.
Merge pull request #52 from NeoTheOne/master

Spelling error.