Finds the first non-repeating character in a string