imsplit function

Split an image along a certain axis (producing a list)