A python implementation of the Playfair cipher