Implements split, splitBy
Merge pull request #159 from LewisJEllis/split

Implements split, splitBy