pmap modified to work with any iterable

added generic map on iterators. added docs

added pmap test cases