Exact Solutions of Certain Variants of Sine Gordon and Nonlinear Diffusion Reaction Equations