Code that solves the equations of motion for slow-roll inflation