Optimal Pedestrian Evacuation in Building with Consecutive Differential Dynamic Programming