Adding First occurrence of a non-repeating char in an input string.