ic.pl - index of coincidence analysis
bit of cleanup
better yet, just get rid of the reverse lookup table, since it's redundant