Write a C program for Rail fence Algorithm (Transposition).