Slice now works properly in both forward and backward directions, with inclusive indexing.