Complete rewrite

Better structure of the code, combined encryption and decryption into a
single file, used argparse instead of sys.argv to fetch arguments.