Added notations and worked on compilePermutations