Pull out compare_GridNodes for portability
Merge pull request #6 from doug1/master

Pull out compare_GridNodes for portability