List slicing

Functions for handling sliced lists similarly to Python