Asserting if a letter can't be repeat and if this give a exception