Added fill and swapping methods

Because this is immutable in the current execution context, the swap
function is longer than I would have liked.