P08 - Eliminate consecutive duplicates of list elements.

added fold implementation