Swapping Kth node from beginning and kth node from the end.
QueueWithStack