P08 - Remove consecutive duplicate elements from a list