Added curry and curry4.
Added curry and curry4.