General Solution of the ADFGVX Cipher System