Removed unneccessary code from Group::recalculateLiberties in order to increase performance