Support for resource sets with no memory

Some tasks do not have memory assigned to them, this change allows support for this in the CLI.
Merge pull request #42 from tarnfeld/fix/division-by-zero

Support for resource sets with no memory