Simple remove dupes imp

Is it cheating to use List? 
Also shame have to it loop twice to print a nice string