added program remove repeated characters from string