Added another recursive solution to the duplicates challenge