Add exercise3 (currying)