multi-threading mapping of a block (lambda) over an array and returns a nsdictionary