added Sequence#memoize
updated #memoize a little bit, removed reference to #getIndex
updated code to hopefully clarify purpose of Iterator type (see #63)
updated a bunch of anonymous function expressions to have names