Function KamaSutraCipher
encodes / decodes input string based on previously provided key pairs dictionary.
It replaces a character in string if it is present in key array and leaves it as is if it is not.
Example key pairs dictionary:
[ ['d', 'p'], ['n', 'o'], ['a', 'w'], ['f', 'c'], ['h', 's'], ['l', 'v'], ['m', 'j'], ['x', 'b'], ['e', 'z'], ['r', 'i'], ['k', 'y'], ['u', 'q'], ['t', 'g'] ]
A script by V.