Create task definition file for josephus problem