Added iterator functionality.

Now wrapper can fetch each word with location details of the word