simplified playfair square key generation code, added code for
optimized message generation - must add encryption next