add takeWhile, switch to for-of
switch README to markdown, add rationale and some examples for new functions
moved README to README.md