update README
add new function `group` and use it
update doc/test