Added 'unique_chars_array' routine. Fixed bug in 'unique_chars_brute' routine