a example use Josephus struct