curry2 and curry3

I'll add rcurry2 and rcurry3 shortly. (rcurry2 is in there, but needs tests).