Adding support for zero as a parameter
Merge pull request #19 from avoidwork/edge

Minor refactoring