added optional $step param to range method
Merge pull request #328 from andrewmile/range-pull-request

Added optional $step param to range method (function)