Added Array#pop(n)
Added Pointer#swap(i, j) and use it in a couple of places
Added Array#sample(n)