Added slice method
Merge pull request #22 from MattFaluotico/master

Added slice method