Added swap_any instruction as a general swap instruction.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>