return Int?  in indexOf, lastIndexOf
Merge pull request #9 from garnett/master

return Int?  in indexOf, lastIndexOf