Added GUI functionality for affine cipher.