So what I want to do is run the same function multiple times simultaneously while getting a result as return and storing it in an array or list. It goes like this: