Adding Kasiski test and Index of Coincidence code