add isNaN function
Merge pull request #8 from mikusp/master

add isNaN function