Change to std::stringstream
Merge pull request #5 from doug1/portable

Change to std::stringstream
Pull out compare_GridNodes for portability