added remove characters from string algo