added get_group and get_group_liberties

These might come to use for scoring and two-eyes. Untested.