Synchronized Data Permutation - Coding problem | OneNoughtOne