Practical Cryptography: "Polybius Square Cipher"
Go through both examples (written and JavaScript) of the Polybius Square Cipher, and then read about its cryptanalysis.
Click http://practicalcryptography.com/ciphers/classical-era/polybius-square/ link to open resource.