added documentation to is_resource_usage_greater_than_supply. Refactor
names in that function