Recursive function to find the initial position. Notice the following abc bac bca cba cab acb abc The same permutation repeats after every six operations. After reducing it to this, we simply move one step back at a time till we reach the zeroeth permutation.*/
source not stored for this graph (policy: none)