One-time pad in python