Requirements now want function to take multiple swaps, refactoring whole thing. slice now returns list of tuples for swaps, still has a few bugs but structure is there
Slice it up function works correctly now