Text this: Investigating nonflow contribution on elliptic flow in p-Pb collisions with the AMPT model