adds support for a slice function;
test slicing between types;
Merge pull request #1 from virtru/add-slice

Add slice