A computational method for free terminal time optimal control problem governed by nonlinear time delayed systems