added clipper.cpp and fixed errors in quadGrouper