Add 2 and 3 kasiski method version