Fix bug with function nodes.

Assignment operator was being used instead of a comparison operator.
Merge pull request #4 from nubs/master

Fix bug with function nodes.