make Allocations
The method assumes that the provided list of resources has enough units available to satisfy the needs of the request.
Return
the amount to allocate from each resource as a map
Parameters
amount Needed
the amount needed from resources
resource List
list of resources to be allocated from