Split sentence_iterator into a cpp file. Fixes #12.