Updated curry to handle pultiple arguments at any time.