Text this: A new reliable algorithm for analytical treatment of differential and integral equations