future_imap function

Apply a function to each element of a vector, and its index via futures