Legendre-Gauss Spectral Collocation Method for Second Order Nonlinear Delay Differential Equations