Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planning