swap do not work
continued work on swapping of chars