pmap modified to work with any iterable

added generic map on iterators. added docs

added pmap test cases
map with fewer temp arrays