fix bugs and update

* a little syntax correction in groupby
* completely redone iterate (why does using lambda directly causes stack
overflow?)
* zip_with no longer cares about list length
* minor fix for cache