Sequential Allocation and Optional Stopping in