Simple cipher text written in python