Added playfair

-Optimised a few things