IDSOLVER : A general purpose solver for nth-order integro-differential equations