Encrypt and decrypt text with the Baconian cipher, using sequences of A and B.
AABBB AABAA ABABB ABABB ABBBA