Adds tokenize method

Addresses numenta/nupic.fluent#28

Requires #9 to be merged first

@chetan51 please review