added distributeResources method
Merge pull request #37 from jjacobskind/distributeResources

added distributeResources method