Add BinaryRepresentation
Add another solution for permutation