Use broadcast operator, as recommended by the julia compiler.
Handle empty ranges because 1:0 throws an OverflowException now.
Fix github issue #10 (default arguments)

Fix behavior to match the documentation.