MONOALPHABETIC SUBSTITUTION CIPHER

Every plain letter is replaced by one fixed letter from a key alphabet
(a permutation of the 26 letters). Same letter always gives same cipher letter.

Formula:
    C = key[ position of P in plain alphabet ]
    P = plain[ position of C in key alphabet ]

Key space = 26! (about 4 x 10^26) but it is weak against frequency analysis.

Steps:
1. Write plain alphabet a..z and below it the key alphabet.
2. Encryption: for each letter find its index in plain, take the letter at the same index in key.
3. Decryption: do the reverse, find index in key, take letter from plain.
4. Non letters (space) are left as it is.

Example: key = qwertyuiopasdfghjklzxcvbnm
hello world -> itssg vgksr
