add some tests for closure wrapping

+ write the intial code for currifying
simplify list representation