add the calcul in a method and move same letter counter to the verify method and now verify and calcul method have their own loop