Convenience range function
tests for range function
added contract and documentation
ending newline
Merge pull request #5 from zdhickman/master

Add range convenience function