Optimal Allocation Algorithm for Sequential Resource Allocation in the Context of Food Banks Operations