Use slicing semantics similar to the rest of rust
Merge pull request #9 from stouset/slice-correctly

Use slicing semantics similar to the rest of rust