minRequest should update based on resource type
Addressed bug related to state of different resource types

-Created a two dimensional array to maintain more precise state
information. That is, now we can keep track of state with regards to
both resource type and task number.