SwapTable implementation using templates. With tests.
Newline at end in tests.
Merge branch 'swapTable'

Conflicts:
	tests/Makefile