Write a program in your language of choice to find the first non-repeating character in a stream of data.
Implement first_non_repeating(stream), where stream is a case-sensitive string. Return a list containing the required character after each input character has been processed, or null when no character qualifies. Preserve the order and exact casing of the input characters.
def first_non_repeating(stream):