add task id and parent task id to nqueens example