adapted playfair encryption to work with any binary file