Implementation of the Slice.add method.
Implementation of Slice.cut method.
Efficiency tests.
Add more tests for slices and fix bugs.