group detecting and setting binary features working (unteseted).  TO DO: test, do manhattan distance features, write a generic printing function for inspection debugging