eval e^x but using iterate