Porter Stemming Algorithm: C++ implementation