On the solution of the two-dimensional boundary-layer flow equations for a non-Newtonian power law fluid