Solution for Problem 1.1, all uniques in a string, complete