An Efficient High Order Algorithm for Solving Reaction-Diffusion Equations