given list of chars, print each unique char once, preserving order