Added line-wise encryption in Python