reorged go.cpp to be more test encapsulated.  Introduced 'floodFillForGroups' for better group detection.  Untested, but started on my impl of fred's value function