Fixes the splitsentence example by passing a ptr to the Read method

Fixes Issue #3