Exact Solutions for Some Fractional Partial Differential Equations by the Method