Added better implementations to P08 remove duplicates from list